﻿using System;
using Adventure.Server.Library;

namespace Adventure.Tests
{
    /// <summary>
    /// Helper functions used in unit tests.
    /// </summary>
    public static class HelperFunctions
    {
        public static ObjectAttributes CreateAttributes(string id)
        {
            return new ObjectAttributes
            {
                [SavedObject.ClassNameAttribute] = typeof(SavedObject).AssemblyQualifiedName,
                [SavedObject.IdentifierAttribute] = id
            };
        }
    }
}
